﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="modify_pwd.aspx.cs" Inherits="user_modify_pwd" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>修改登录密码</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="../css/ss01.css">
    <script language="JScript" src="../js/Function.js"></script>
    <script language="JScript" src="../js/myCheck.js"></script>
    <script type="text/javascript" language="javascript">
        function chk()
        {
			if(CheckText(form1.newpassword,"新密码",50)==false) return false;
            if(form1.newpassword.value!=form1.newpassword2.value)
            {
                alert("两次输入的密码不一样！");
                return false;
            }
            
			return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>当前密码:</td>
                </tr>
                <tr>
                    <td><asp:TextBox ID="oldpassword" runat="server" Width="120" TextMode="Password"></asp:TextBox></td>
                </tr>
                <tr height=16>
                    <td></td>
                </tr>
                <tr>
                    <td class="title1">新密码:</td>
                </tr>
                <tr>
                    <td><asp:TextBox ID="newpassword" runat="server" Width="120" TextMode="Password"></asp:TextBox></td>
                </tr>
                <tr height=16>
                    <td></td>
                </tr>
                <tr>
                    <td>再输一次:</td>
                </tr>
                <tr>
                    <td><asp:TextBox ID="newpassword2" runat="server" Width="120" TextMode="Password"></asp:TextBox></td>
                </tr>
            </table><br />
            <asp:Button ID="btnSave" runat="server" Text="保存新密码" OnClick="btnSave_Click" />&nbsp;<font style="font-size: 10pt; color: red;"><asp:Literal ID="msg" runat="server"></asp:Literal></font>     
        </div>
    </form>
</body>
</html>
